package controller.eventListener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import view.AddressListView;
import view.EmailAddressView;

public class ActionListener_AddEmailButton implements ActionListener{
	
	AddressListView alv;
	
	public ActionListener_AddEmailButton(AddressListView alv){
		this.alv = alv;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		alv.clearListSelection();
		new EmailAddressView(alv);
	}

}
